package com.zjh.hes.domain;





import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author Mr.M
 * @version 1.0
 * @description Elasticsearch模型类
 * @date 2024/8/18 20:26
 */
@Data
//@ApiModel(description = "索引库实体")
public class ItemDoc {

//    @ApiModelProperty("商品id")
    private String id;
//
//    @ApiModelProperty("商品名称")
    private String name;

//    @ApiModelProperty("价格（分）")
    private Integer price;

//    @ApiModelProperty("库存")
    private Integer stock;

//    @ApiModelProperty("商品图片")
    private String image;

//    @ApiModelProperty("类目名称")
    private String category;

//    @ApiModelProperty("品牌名称")
    private String brand;

//    @ApiModelProperty("销量")
    private Integer sold;

//    @ApiModelProperty("评论数")
    private Integer commentCount;

//    @ApiModelProperty("是否是推广广告，true/false")
    private Boolean isAD;

//    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
//    private List<String> suggestion;
}